﻿using System;

namespace Model
{
    /// <summary>
    /// 玩法类型
    /// </summary>
    public enum PlayType
    {
        /// <summary>
        /// 快乐8
        /// </summary>
        KL8
    }

    /// <summary>
    /// 开奖数据的标准定义
    /// </summary>
    public class OpenData
    {
        public PlayType PlayType { get; set; }

        /// <summary>
        /// 期数
        /// 只能是数字类型，绝对能转整数类型。
        /// </summary>
        public string Issue { get; set; }

        /// <summary>
        /// 原始数据
        /// </summary>
        public string SrcCode { get; set; }

        /// <summary>
        /// 计算后的开奖原始码
        /// </summary>
        public string SrcOpenCode { get; set; }

        /// <summary>
        /// 最终开奖码
        /// </summary>
        public string OpenCode { get; set; }

        /// <summary>
        /// 开奖时间
        /// </summary>
        public DateTime OpenTime { get; set; }
    }
}
